home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Futurshow - Un Taglio Al Passato
/
Futurshow - Un Taglio Al Passato.iso
/
pc
/
futur.dir
/
00125_Script_125
< prev
next >
Wrap
Text File
|
1998-03-11
|
3KB
|
95 lines
on cresci
set theRect1=the rect of sprite 2
set theRect2=the rect of sprite 3
set theRect3=the rect of sprite 4
set tempRect=the rect of sprite 3
set tempRect1=the rect of sprite 4
set d11=float(getAt(theRect1,1)-getAt(theRect2,1))/30
set d12=float(getAt(theRect1,2)-getAt(theRect2,2))/30
set d13=float(getAt(theRect1,3)-getAt(theRect2,3))/30
set d14=float(getAt(theRect1,4)-getAt(theRect2,4))/30
set d21=float(getAt(theRect2,1)-getAt(theRect3,1))/30
set d22=float(getAt(theRect2,2)-getAt(theRect3,2))/30
set d23=float(getAt(theRect2,3)-getAt(theRect3,3))/30
set d24=float(getAt(theRect2,4)-getAt(theRect3,4))/30
set the locV of sprite 2 to 1000
repeat with i=1 to 30
setAt(tempRect,1,getAt(tempRect,1)+d11)
setAt(tempRect,2,getAt(tempRect,2)+d12)
setAt(tempRect,3,getAt(tempRect,3)+d13)
setAt(tempRect,4,getAt(tempRect,4)+d14)
set the rect of sprite 3 to tempRect
setAt(tempRect1,1,getAt(tempRect1,1)+d21)
setAt(tempRect1,2,getAt(tempRect1,2)+d22)
setAt(tempRect1,3,getAt(tempRect1,3)+d23)
setAt(tempRect1,4,getAt(tempRect1,4)+d24)
set the rect of sprite 4 to tempRect1
updatestage
end repeat
set the rect of sprite 2 to theRect1
set the rect of sprite 3 to theRect2
set the rect of sprite 4 to theRect3
updatestage
end
on deCresci
set theRect1=the rect of sprite 2
set theRect2=the rect of sprite 3
set theRect3=the rect of sprite 4
set tempRect=the rect of sprite 2
set tempRect1=the rect of sprite 3
set d11=float(getAt(theRect2,1)-getAt(theRect1,1))/30
set d12=float(getAt(theRect2,2)-getAt(theRect1,2))/30
set d13=float(getAt(theRect2,3)-getAt(theRect1,3))/30
set d14=float(getAt(theRect2,4)-getAt(theRect1,4))/30
set d21=float(getAt(theRect3,1)-getAt(theRect2,1))/30
set d22=float(getAt(theRect3,2)-getAt(theRect2,2))/30
set d23=float(getAt(theRect3,3)-getAt(theRect2,3))/30
set d24=float(getAt(theRect3,4)-getAt(theRect2,4))/30
set the locV of sprite 4 to 1000
repeat with i=1 to 30
setAt(tempRect,1,getAt(tempRect,1)+d11)
setAt(tempRect,2,getAt(tempRect,2)+d12)
setAt(tempRect,3,getAt(tempRect,3)+d13)
setAt(tempRect,4,getAt(tempRect,4)+d14)
set the rect of sprite 2 to tempRect
setAt(tempRect1,1,getAt(tempRect1,1)+d21)
setAt(tempRect1,2,getAt(tempRect1,2)+d22)
setAt(tempRect1,3,getAt(tempRect1,3)+d23)
setAt(tempRect1,4,getAt(tempRect1,4)+d24)
set the rect of sprite 3 to tempRect1
updatestage
end repeat
set the rect of sprite 2 to theRect1
set the rect of sprite 3 to theRect2
set the rect of sprite 4 to theRect3
updatestage
end
on adjSt
global theSt
set the member of sprite 9 to member ("st"&(theSt-1))
set the member of sprite 10 to member ("st"&theSt)
set the member of sprite 11 to member ("st"&(theSt+1))
set the member of sprite 12 to member ("st"&(theSt-1)&".img")
set the member of sprite 13 to member ("st"&theSt&".img")
set the member of sprite 14 to member ("st"&(theSt+1)&".img")
set the member of sprite 15 to member ("st"&(theSt-1)&".did")
set the member of sprite 16 to member ("st"&theSt&".did")
set the member of sprite 17 to member ("st"&(theSt+1)&".did")
end